import request from '@/request/index.js'
//添加购物车
export function addCar(data) {
	return request('/shopping-user/ShoppingCar/addCar', 'Post', data)
}
//添加收藏
export function addCollect(data){
	return request('shopping-user/collect/addCollect','post',data)
}
//查询购物车
export function findCar(data){
	return request("shopping-user/ShoppingCar/findCar",'get',data)
}
//添加订单
export function setTOrders(data){
	return request('/shopping-user/TOrders/setTOrders','post',data)
}
//修改订单
export function updataTOrders(data){
	return request('shopping-user/TOrders/updataTOrders','post',data)
}